package com.eol.common.pay;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * User: liulinhui
 * Date: 2020/5/25
 * Time: 2:44 PM
 * Description: AliPayBean
 */
@Component
@ConfigurationProperties(prefix = "system.config.alipay")
@Builder
@AllArgsConstructor
@Data
@NoArgsConstructor
public class AliPayBean {
    private String appId;
    //应用私钥
    private String privateKey;
    //支付宝公钥
    private String publicKey;
    //https://openapi.alipay.com/gateway.do
    private String serviceUrl;
}
